eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
↳ QTRS
↳ Overlay + Local Confluence
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
S2BIN2(x, cons(xs, ys)) → EQ(x, bin2s(xs))
LOG(s(s(x))) → HALF(s(s(x)))
BIN2S(cons(x, xs)) → BIN2SS(x, xs)
HALF(s(s(x))) → HALF(x)
S2BIN2(x, cons(xs, ys)) → IF2(eq(x, bin2s(xs)), x, xs, ys)
S2BIN(x) → S2BIN1(x, 0, cons(nil, nil))
S2BIN1(x, y, lists) → IF1(lt(y, log(x)), x, y, lists)
IF1(false, x, y, lists) → S2BIN2(x, lists)
S2BIN2(x, cons(xs, ys)) → BIN2S(xs)
IF2(false, x, xs, ys) → S2BIN2(x, ys)
BIN2SS(x, cons(1, xs)) → BIN2SS(s(double(x)), xs)
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
LT(s(x), s(y)) → LT(x, y)
LOG(s(s(x))) → LOG(half(s(s(x))))
S2BIN1(x, y, lists) → LT(y, log(x))
IF1(true, x, y, lists) → MORE(lists)
S2BIN1(x, y, lists) → LOG(x)
EQ(s(x), s(y)) → EQ(x, y)
BIN2SS(x, cons(0, xs)) → BIN2SS(double(x), xs)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
S2BIN2(x, cons(xs, ys)) → EQ(x, bin2s(xs))
LOG(s(s(x))) → HALF(s(s(x)))
BIN2S(cons(x, xs)) → BIN2SS(x, xs)
HALF(s(s(x))) → HALF(x)
S2BIN2(x, cons(xs, ys)) → IF2(eq(x, bin2s(xs)), x, xs, ys)
S2BIN(x) → S2BIN1(x, 0, cons(nil, nil))
S2BIN1(x, y, lists) → IF1(lt(y, log(x)), x, y, lists)
IF1(false, x, y, lists) → S2BIN2(x, lists)
S2BIN2(x, cons(xs, ys)) → BIN2S(xs)
IF2(false, x, xs, ys) → S2BIN2(x, ys)
BIN2SS(x, cons(1, xs)) → BIN2SS(s(double(x)), xs)
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
LT(s(x), s(y)) → LT(x, y)
LOG(s(s(x))) → LOG(half(s(s(x))))
S2BIN1(x, y, lists) → LT(y, log(x))
IF1(true, x, y, lists) → MORE(lists)
S2BIN1(x, y, lists) → LOG(x)
EQ(s(x), s(y)) → EQ(x, y)
BIN2SS(x, cons(0, xs)) → BIN2SS(double(x), xs)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
HALF(s(s(x))) → HALF(x)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
HALF(s(s(x))) → HALF(x)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
HALF(s(s(x))) → HALF(x)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
LOG(s(s(x))) → LOG(half(s(s(x))))
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
LOG(s(s(x))) → LOG(half(s(s(x))))
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
LOG(s(s(x))) → LOG(half(s(s(x))))
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
half(0)
half(s(0))
half(s(s(x0)))
half(s(0)) → 0
POL(0) = 1
POL(LOG(x1)) = 2·x1
POL(half(x1)) = x1
POL(s(x1)) = 2·x1
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
LOG(s(s(x))) → LOG(half(s(s(x))))
half(s(s(x))) → s(half(x))
half(0) → 0
half(0)
half(s(0))
half(s(s(x0)))
half(s(s(x))) → s(half(x))
POL(0) = 0
POL(LOG(x1)) = 2·x1
POL(half(x1)) = x1
POL(s(x1)) = 2 + x1
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
LOG(s(s(x))) → LOG(half(s(s(x))))
half(0) → 0
half(0)
half(s(0))
half(s(s(x0)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
BIN2SS(x, cons(1, xs)) → BIN2SS(s(double(x)), xs)
BIN2SS(x, cons(0, xs)) → BIN2SS(double(x), xs)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
BIN2SS(x, cons(1, xs)) → BIN2SS(s(double(x)), xs)
BIN2SS(x, cons(0, xs)) → BIN2SS(double(x), xs)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
BIN2SS(x, cons(1, xs)) → BIN2SS(s(double(x)), xs)
BIN2SS(x, cons(0, xs)) → BIN2SS(double(x), xs)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
LT(s(x), s(y)) → LT(x, y)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
LT(s(x), s(y)) → LT(x, y)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
LT(s(x), s(y)) → LT(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
EQ(s(x), s(y)) → EQ(x, y)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
EQ(s(x), s(y)) → EQ(x, y)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
EQ(s(x), s(y)) → EQ(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
IF2(false, x, xs, ys) → S2BIN2(x, ys)
S2BIN2(x, cons(xs, ys)) → IF2(eq(x, bin2s(xs)), x, xs, ys)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
IF2(false, x, xs, ys) → S2BIN2(x, ys)
S2BIN2(x, cons(xs, ys)) → IF2(eq(x, bin2s(xs)), x, xs, ys)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
bin2ss(x, nil) → x
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
IF2(false, x, xs, ys) → S2BIN2(x, ys)
S2BIN2(x, cons(xs, ys)) → IF2(eq(x, bin2s(xs)), x, xs, ys)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
bin2ss(x, nil) → x
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ UsableRulesProof
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(x, y, lists) → IF1(lt(y, log(x)), x, y, lists)
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ UsableRulesProof
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(x, y, lists) → IF1(lt(y, log(x)), x, y, lists)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ UsableRulesProof
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(x, y, lists) → IF1(lt(y, log(x)), x, y, lists)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
S2BIN1(s(0), y1, y2) → IF1(lt(y1, 0), s(0), y1, y2)
S2BIN1(s(s(x0)), y1, y2) → IF1(lt(y1, s(log(half(s(s(x0)))))), s(s(x0)), y1, y2)
S2BIN1(0, y1, y2) → IF1(lt(y1, 0), 0, y1, y2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ UsableRulesProof
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(s(0), y1, y2) → IF1(lt(y1, 0), s(0), y1, y2)
S2BIN1(s(s(x0)), y1, y2) → IF1(lt(y1, s(log(half(s(s(x0)))))), s(s(x0)), y1, y2)
S2BIN1(0, y1, y2) → IF1(lt(y1, 0), 0, y1, y2)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ UsableRulesProof
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(s(s(x0)), y1, y2) → IF1(lt(y1, s(log(half(s(s(x0)))))), s(s(x0)), y1, y2)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
S2BIN1(s(s(x0)), y1, y2) → IF1(lt(y1, s(log(s(half(x0))))), s(s(x0)), y1, y2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ UsableRulesProof
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(s(s(x0)), y1, y2) → IF1(lt(y1, s(log(s(half(x0))))), s(s(x0)), y1, y2)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
IF1(true, s(s(z0)), z1, z2) → S2BIN1(s(s(z0)), s(z1), more(z2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ UsableRulesProof
IF1(true, s(s(z0)), z1, z2) → S2BIN1(s(s(z0)), s(z1), more(z2))
S2BIN1(s(s(x0)), y1, y2) → IF1(lt(y1, s(log(s(half(x0))))), s(s(x0)), y1, y2)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
S2BIN1(s(s(z0)), s(z1), y_0) → IF1(lt(s(z1), s(log(s(half(z0))))), s(s(z0)), s(z1), y_0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ UsableRulesProof
IF1(true, s(s(z0)), z1, z2) → S2BIN1(s(s(z0)), s(z1), more(z2))
S2BIN1(s(s(z0)), s(z1), y_0) → IF1(lt(s(z1), s(log(s(half(z0))))), s(s(z0)), s(z1), y_0)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
S2BIN1(s(s(z0)), s(z1), y_0) → IF1(lt(z1, log(s(half(z0)))), s(s(z0)), s(z1), y_0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ UsableRulesProof
IF1(true, s(s(z0)), z1, z2) → S2BIN1(s(s(z0)), s(z1), more(z2))
S2BIN1(s(s(z0)), s(z1), y_0) → IF1(lt(z1, log(s(half(z0)))), s(s(z0)), s(z1), y_0)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
IF1(true, s(s(z0)), s(z1), z2) → S2BIN1(s(s(z0)), s(s(z1)), more(z2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ UsableRulesProof
IF1(true, s(s(z0)), s(z1), z2) → S2BIN1(s(s(z0)), s(s(z1)), more(z2))
S2BIN1(s(s(z0)), s(z1), y_0) → IF1(lt(z1, log(s(half(z0)))), s(s(z0)), s(z1), y_0)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
S2BIN1(s(s(z0)), s(s(z1)), y_0) → IF1(lt(s(z1), log(s(half(z0)))), s(s(z0)), s(s(z1)), y_0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ MNOCProof
↳ UsableRulesProof
IF1(true, s(s(z0)), s(z1), z2) → S2BIN1(s(s(z0)), s(s(z1)), more(z2))
S2BIN1(s(s(z0)), s(s(z1)), y_0) → IF1(lt(s(z1), log(s(half(z0)))), s(s(z0)), s(s(z1)), y_0)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ MNOCProof
↳ QDP
↳ UsableRulesProof
IF1(true, s(s(z0)), s(z1), z2) → S2BIN1(s(s(z0)), s(s(z1)), more(z2))
S2BIN1(s(s(z0)), s(s(z1)), y_0) → IF1(lt(s(z1), log(s(half(z0)))), s(s(z0)), s(s(z1)), y_0)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(x, y, lists) → IF1(lt(y, log(x)), x, y, lists)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
eq(0, 0)
eq(0, s(x0))
eq(s(x0), 0)
eq(s(x0), s(x1))
bin2s(nil)
bin2s(cons(x0, x1))
bin2ss(x0, nil)
bin2ss(x0, cons(0, x1))
bin2ss(x0, cons(1, x1))
s2bin(x0)
s2bin1(x0, x1, x2)
if1(true, x0, x1, x2)
if1(false, x0, x1, x2)
s2bin2(x0, nil)
s2bin2(x0, cons(x1, x2))
if2(true, x0, x1, x2)
if2(false, x0, x1, x2)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ MNOCProof
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(x, y, lists) → IF1(lt(y, log(x)), x, y, lists)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
half(0)
half(s(0))
half(s(s(x0)))
log(0)
log(s(0))
log(s(s(x0)))
more(nil)
more(cons(x0, x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ MNOCProof
↳ QDP
IF1(true, x, y, lists) → S2BIN1(x, s(y), more(lists))
S2BIN1(x, y, lists) → IF1(lt(y, log(x)), x, y, lists)
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
half(s(s(x))) → s(half(x))
half(0) → 0
half(s(0)) → 0